package org.example.common.response;

public enum ResponseEnum {
    SUCCESS("000000","一切OK"),
    DB_ERROR("000001","数据库异常"),
    SERVER_ERROR("000002","服务器异常"),
    USER_NOT_EXIST("000003","用户不存在"),
    PASSWORD_INVALID("000004","密码错误！");

    public String getCode() {
        return code;
    }

    public String getMsg() {
        return msg;
    }

    private String code;
    private String msg;
    ResponseEnum(String code,String msg){
        this.code=code;
        this.msg=msg;
    }
}
